/**
 * 
 */
package de.cbf.cam.dsa.model.prerequisites;

import javax.persistence.Entity;
import javax.persistence.Id;

import de.cbf.cam.dsa.model.entities.BattleChar;
import de.cbf.cam.dsa.model.entities.OneNPC;
import de.cbf.cam.dsa.model.persistence.Header;

/**
 * @author Nebelritter
 *
 */
@Entity
public abstract class Prereq extends Header {

	public abstract boolean characterMeetsPrereq(OneNPC character);
	public abstract boolean characterMeetsPrereq(BattleChar character);

	/* (non-Javadoc)
	 * @see de.cbf.cam.dsa.model.persistence.Header#getGuid()
	 */
	@Override	
	@Id
	public String getGuid() {	
		return guid;
	}

	/* (non-Javadoc)
	 * @see de.cbf.cam.dsa.model.persistence.Header#setGuid(java.lang.String)
	 */
	@Override
	public void setGuid(String guid) {
		this.guid = guid;		
	}

	
	
	
}
